	<nav class="navbar navbar-default">
    <div class="container">
      <div class="navbar-header" >
        <a href="<?php echo site_url();?>">
          <img id="logo" src="<?php echo base_url();?>public/images/logo1.png">
        </a>
      </div>
      <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav navbar-right">
          <?php 
            foreach ($navs as $nav) {
          ?>
             <li class="<?php if($nav->id == $catalog_id){echo "active";}?>"><a href="<?php echo site_url("Article/lists/".$nav->id) ;?>"><?php echo $nav->name?></a></li>
          <?php
            }
          ?>
        </ul>
      </div>
    </div>
  </nav>